package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.BrandSeries;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "brandSeriesForm")
@SessionScoped
public class BrandSeriesForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String name;

	private String summary;

	private String detail;

	private String homepage;

	private String photoUrl;

	private String thumbnailsUrl;

	private boolean delFlg;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private BrandSeries selectedBrandSeries;

	private List<BrandSeries> selectedBrandSeriesList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getHomepage() {
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getPhotoUrl() {
		return photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getThumbnailsUrl() {
		return thumbnailsUrl;
	}

	public void setThumbnailsUrl(String thumbnailsUrl) {
		this.thumbnailsUrl = thumbnailsUrl;
	}

	public boolean isDelFlg() {
		return delFlg;
	}

	public void setDelFlg(boolean delFlg) {
		this.delFlg = delFlg;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public BrandSeries getSelectedBrandSeries() {
		return selectedBrandSeries;
	}

	public void setSelectedBrandSeries(BrandSeries selectedBrandSeries) {
		this.selectedBrandSeries = selectedBrandSeries;
	}

	public List<BrandSeries> getSelectedBrandSeriesList() {
		return selectedBrandSeriesList;
	}

	public void setSelectedBrandSeriesList(List<BrandSeries> selectedBrandSeriesList) {
		this.selectedBrandSeriesList = selectedBrandSeriesList;
	}

	public void clearAll() {
		this.id = null;
		this.name = null;
		this.summary = null;
		this.detail = null;
		this.homepage = null;
		this.photoUrl = null;
		this.thumbnailsUrl = null;
		this.delFlg = false;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedBrandSeries = null;
		this.selectedBrandSeriesList = null;
	}

}
